{template 'common/header'}


<div>

    <form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" >
        <input type="hidden" name="op" value="post" />
        <div class="panel panel-default">
            <div class="panel-heading">系统设置</div>
            <div class="panel-body">

                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">群聊名称</label>
                    <div class="col-sm-9 col-xs-12">
                        <input type="text" name="groupname" class="form-control" value="{$domain['groupname']}" />
                    </div>
                </div>


                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">界面颜色</label>
                    <div class="col-sm-9 col-xs-12">
                        <select id="UIColor" name="UIColor"  class="form-control">
                            <option value="default" {if $domain['UIColor']=='default'}selected{/if}>默认</option>
                            <option value="black" {if $domain['UIColor']=='black'}selected{/if}>黑色</option>
                            <option value="CadetBlue" {if $domain['UIColor']=='CadetBlue'}selected{/if}>军校蓝</option>
                            <option value="Brown" {if $domain['UIColor']=='Brown'}selected{/if}>棕色</option>
                            <option value="DarkBlue" {if $domain['UIColor']=='DarkBlue'}selected{/if}>深蓝色</option>
                            <option value="DarkMagenta" {if $domain['UIColor']=='DarkMagenta'}selected{/if}>深洋红</option>
                            <option value="DarkOrange" {if $domain['UIColor']=='DarkOrange'}selected{/if}>深橘色</option>
                            <option value="DarkSeaGreen" {if $domain['UIColor']=='DarkSeaGreen'}selected{/if}>深海绿</option>
                            <option value="DeepPink" {if $domain['UIColor']=='DeepPink'}selected{/if}>深粉红</option>
                            <option value="LimeGreen" {if $domain['UIColor']=='LimeGreen'}selected{/if}>酸橙绿</option>
                    </select>
                    </div>
                </div>        
                
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">网页注册</label>
                    <div class="col-sm-9 col-xs-12">
                        <label for="type1" class="radio-inline"><input name="webregister" value="1"  {if $domain['webregister'] == 1}checked="true"{/if} type="radio">开启</label>
                        &nbsp;&nbsp;&nbsp;
                        <label for="type2" class="radio-inline"><input name="webregister" value="0"  {if $domain['webregister'] == 0}checked="true"{/if} type="radio">关闭</label>
                    </div>
                </div>
                
                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">提示声音</label>
                    <div class="col-sm-9 col-xs-12">
                        <label  class="radio-inline"><input name="isshownotice" value="2"  {if $domain['isshownotice'] == '2'}checked="true"{/if} type="radio">开启</label>
                        &nbsp;&nbsp;&nbsp;
                        <label  class="radio-inline"><input name="isshownotice" value="1"  {if $domain['isshownotice'] == '1'}checked="true"{/if} type="radio">关闭</label>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">显示表情</label>
                    <div class="col-sm-9 col-xs-12">
                        <label  class="radio-inline"><input name="isshowemoji" value="2"  {if $domain['isshowemoji'] == '2'}checked="true"{/if} type="radio">开启</label>
                        &nbsp;&nbsp;&nbsp;
                        <label  class="radio-inline"><input name="isshowemoji" value="1"  {if $domain['isshowemoji'] == '1'}checked="true"{/if} type="radio">关闭</label>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">显示图片</label>
                    <div class="col-sm-9 col-xs-12">
                        <label  class="radio-inline"><input name="isshowpic" value="2"  {if $domain['isshowpic'] == '2'}checked="true"{/if} type="radio">开启</label>
                        &nbsp;&nbsp;&nbsp;
                        <label  class="radio-inline"><input name="isshowpic" value="1"  {if $domain['isshowpic'] == '1'}checked="true"{/if} type="radio">关闭</label>
                    </div>
                </div>

                <div class="form-group" style="display: none;">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">显示视频</label>
                    <div class="col-sm-9 col-xs-12">
                        <label  class="radio-inline"><input name="isshowvideo" value="2"  {if $domain['isshowvideo'] == '2'}checked="true"{/if} type="radio">开启</label>
                        &nbsp;&nbsp;&nbsp;
                        <label  class="radio-inline"><input name="isshowvideo" value="1"  {if $domain['isshowvideo'] == '1'}checked="true"{/if} type="radio">关闭</label>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">显示成员</label>
                    <div class="col-sm-9 col-xs-12">
                        <label  class="radio-inline"><input name="isshowmember" value="2"  {if $domain['isshowmember'] == '2'}checked="true"{/if} type="radio">开启</label>
                        &nbsp;&nbsp;&nbsp;
                        <label  class="radio-inline"><input name="isshowmember" value="1"  {if $domain['isshowmember'] == '1'}checked="true"{/if} type="radio">关闭</label>
                    </div>
                </div>
                
                <div class="form-group" style="display: none;">
                    <label class="col-xs-12 col-sm-3 col-md-2 control-label">系统密钥</label>
                    <div class="col-sm-9 col-xs-12">
                        <input type="text" name="mdSecret" placeholder="无须填写" class="form-control" value="" />
                    </div>
                </div>
                
               
            </div>
        </div>
        <div class="form-group col-sm-12">
            <input type="submit" name="submit" value="提交" class="btn btn-primary col-lg-1" />
            <input type="hidden" name="token" value="{$_W['token']}" />
        </div>
    </form>
</div>


    
    <script>
        /* 定义全局的模块名称 */      
        var w7_version=" v{IMS_VERSION} © 2014-2018 ";
        var moduleName="{php echo $_W['current_module']['name']}";
        var moduleUrl="{php echo MODULE_URL}";
        var  WebUrl=location.href.split("?")[0]+"?c=site&a=entry&m="+moduleName+"&do=";
        var  MobileUrl=location.href.split("?")[0].replace('/web/','/app/')+"?i={php echo $_W['uniacid']}&c=entry&m="+moduleName+"&do=";    

    </script>


{template 'common/footer'}
